package com.kaili.basic.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.kaili.basic.pojo.dto.MdmPushPageListDto;
import com.kaili.basic.pojo.entity.MdmPushEntity;
import com.kaili.basic.pojo.vo.MdmPushPageListVo;
import com.kaili.basic.pojo.vo.MdmPushVo;

import java.util.List;

/**
 * @Desc: 推送管理Service
 * @author: jianfeng
 * @Time: 2019/7/31 10:33
 * @Copyright: © 2018 杭州凯立通信有限公司 版权所有
 * @Warning: 本内容仅限于公司内部传阅, 禁止外泄或用于其它商业目的
 */
public interface IMdmPushSerivce extends IService<MdmPushEntity> {

    /**
    * @Desc:  新增推送
    * @author: jianfeng
    * @Time: 2019/7/31 16:55
    * @param entity
    * @return java.lang.Integer
    */
    Integer add(MdmPushEntity entity);

    /**
    * @Desc:  分页查询推送管理
    * @author: jianfeng
    * @Time: 2019/7/31 11:07
    * @param page
    * @param pushPageListDto
    * @return com.baomidou.mybatisplus.plugins.Page<com.kaili.basic.pojo.vo.MdmPushPageListVo>
    */
    Page<MdmPushPageListVo> queryPageList(Page<MdmPushPageListVo> page, MdmPushPageListDto pushPageListDto);

    /**
    * @Desc:  推送管理导出
    * @author: jianfeng
    * @Time: 2019/7/31 11:20
    * @param pushPageListDto
    * @return java.util.List<com.kaili.basic.pojo.vo.MdmPushPageListVo>
    */
    List<MdmPushPageListVo> export(MdmPushPageListDto pushPageListDto);

    /**
    * @Desc:  修改推送
    * @author: jianfeng
    * @Time: 2019/8/1 10:24
    * @param entity
    * @return java.lang.Integer
    */
    Integer modify(MdmPushEntity entity);

    /**
    * @Desc:  根据id查询
    * @author: jianfeng
    * @Time: 2019/8/1 13:49
    * @param id
    * @return com.kaili.basic.pojo.vo.MdmPushPageListVo
    */
    MdmPushVo queryById(Integer id);


}
